package com.iakuil.app.service;

import com.iakuil.app.common.core.BaseService;
import com.iakuil.app.domain.dto.BookDto;
import com.iakuil.app.domain.dto.query.BookQuery;
import com.iakuil.app.domain.dto.vo.BookInfoVo;
import com.iakuil.app.domain.entity.Book;

import java.util.List;

/**
 * <p>
 * 书籍 服务类
 * </p>
 *
 * @author Kai
 * @since 2023-11-28
 */
public interface BookService extends BaseService<Book> {

    void preChange(Book entity);

    BookInfoVo getDetailsById(Long id);

    List<BookDto> listByCondition(BookQuery query);
}
